package com.ykg.util;


public class LocalUtil {
    private final static ThreadLocal<String> requestHolder = new ThreadLocal<>();
    public static void addId(String id) {
        requestHolder.set(id);
    }

    public static String getId() {
        return requestHolder.get();
    }
}
